package com.knowvoyage.knowvoyageserver.service;

import com.knowvoyage.knowvoyageserver.pojo.dto.LoginDTO;
import com.knowvoyage.knowvoyageserver.pojo.dto.RegisterDTO;
import com.knowvoyage.knowvoyageserver.pojo.vo.Result;

import java.util.Map;


public interface AuthService {
    Result<String> register(RegisterDTO registerDTO);
    Result<Map<String, Object>> login(LoginDTO loginDTO);
}
